//
//  SystemChatTableViewCell.swift
//  Exchange
//
//  Created by rui on 2018/5/8.
//  Copyright © 2018年 common. All rights reserved.
//

import UIKit

class SystemChatTableViewCell: BaseChatTableViewCell {

    // MARK:- 懒加载
    lazy var tipLabel: UILabel = {
        let timeL = UILabel()
        timeL.themeTextColor = ThemeManager.ThemeColorKeys.text2
        timeL.font = UIFont.systemFont(ofSize: 12.0)
        timeL.frame = self.bounds
        timeL.textAlignment = .center
        timeL.autoresizingMask = [.flexibleWidth,.flexibleHeight]
        return timeL
    }()
    
    override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
        super.init(style: style, reuseIdentifier: reuseIdentifier)
        self.addSubview(tipLabel)
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override func setModel() {
        self.tipLabel.text = model?.text
    }

}
